#
# Be sure to run `pod lib lint NEDBugConsole.podspec' to ensure this is a
# valid spec before submitting.
#
# Any lines starting with a # are optional, but their use is encouraged
# To learn more about a Podspec see https://guides.cocoapods.org/syntax/podspec.html
#

Pod::Spec.new do |s|
  s.name             = 'NEDBugConsole'
  s.version          = '0.1.1'
  s.summary          = 'A short description of NEDBugConsole.'

# This description is used to generate tags and improve search results.
#   * Think: What does it do? Why did you write it? What is the focus?
#   * Try to keep it short, snappy and to the point.
#   * Write the description between the DESC delimiters below.
#   * Finally, don't worry about the indent, CocoaPods strips it!

  s.description      = <<-DESC
TODO: Add long description of the pod here.
                       DESC

  s.homepage         = 'http://gitlab.miguan.com/ad-ios/NEDBugConsole'
  # s.screenshots     = 'www.example.com/screenshots_1', 'www.example.com/screenshots_2'
  s.license          = { :type => 'MIT', :file => 'LICENSE' }
  s.author           = { '林宁宁' => 'linningning@98du.com' }
  s.source           = { :git => 'http://gitlab.miguan.com/ad-ios/NEDBugConsole.git', :tag => s.version.to_s }
  # s.social_media_url = 'https://twitter.com/<TWITTER_USERNAME>'

  s.ios.deployment_target = '9.0'

#  s.source_files = 'NEDBugConsole/Classes/**/*'
#  s.resource_bundles = {
#   'Resource' => ['NEDBugConsole/Assets/Resource/*.png']
#  }

  # s.public_header_files = 'Pod/Classes/**/*.h'
  # s.frameworks = 'UIKit', 'MapKit'
  # s.dependency 'AFNetworking', '~> 2.3'
  

  s.subspec 'consloe' do |cs|
      cs.source_files = 'NEDBugConsole/Classes/consloe/**/*'
      
      cs.dependency 'NEDCategory/Foundation/KVO'
  end
  
  s.subspec 'crash' do |cs|
      cs.source_files = 'NEDBugConsole/Classes/crash/**/*'
      cs.dependency 'NEDBugConsole/consloe'
  end
  
  s.subspec 'env' do |cs|
      cs.source_files = 'NEDBugConsole/Classes/env/**/*'
      cs.dependency 'NEDBugConsole/consloe'
  end
  
  s.subspec 'http' do |cs|
      cs.source_files = 'NEDBugConsole/Classes/http/**/*'
      cs.dependency 'NEDBugConsole/consloe'
  end
  
  s.subspec 'log' do |cs|
      cs.source_files = 'NEDBugConsole/Classes/log/**/*'
      cs.dependency 'NEDBugConsole/consloe'
  end
  
  s.subspec 'sandbox' do |cs|
      cs.source_files = 'NEDBugConsole/Classes/sandbox/**/*'
      cs.dependency 'NEDBugConsole/consloe'
  end
  
  s.subspec 'urlscheme' do |cs|
      cs.source_files = 'NEDBugConsole/Classes/urlscheme/**/*'
      cs.dependency 'NEDBugConsole/consloe'
  end
  
  s.subspec 'lookin' do |cs|
      cs.source_files = 'NEDBugConsole/Classes/lookin/**/*'
      cs.dependency 'NEDBugConsole/consloe'
      cs.dependency 'LookinServer'
  end
  
  s.subspec 'doraemon' do |cs|
      cs.source_files = 'NEDBugConsole/Classes/doraemon/**/*'
      cs.dependency 'NEDBugConsole/consloe'
  end
  
  s.subspec 'test' do |cs|
      cs.source_files = 'NEDBugConsole/Classes/test/**/*'
      cs.dependency 'NEDBugConsole/consloe'
  end

  s.dependency 'DoraemonKit/Core'
  s.dependency 'DoraemonKit/WithGPS'
  s.dependency 'NEDDBUserDefaults'
end
